summaryrefslogtreecommitdiff
path: root/src/prettytable.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 00:23:57 +0100
committerinfirit <[email protected]>2014-12-18 00:23:57 +0100
commit12975909c589880030db6125ad6dcbea889edcdc (patch)
treefc374a8a3b855b5024d09f9edb2e47ca755cb7ac /src/prettytable.h
parent0dea7ab1931fb33f35eceab66dffcd56f4550f68 (diff)
downloadmate-system-monitor-12975909c589880030db6125ad6dcbea889edcdc.tar.bz2
mate-system-monitor-12975909c589880030db6125ad6dcbea889edcdc.tar.xz
Make indentation uniform across source files
No more tabs, 4 spaces instead. And remove trailing whitespace.
Diffstat (limited to 'src/prettytable.h')
-rw-r--r--src/prettytable.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/prettytable.h b/src/prettytable.h
index 7884cdd..2109121 100644
--- a/src/prettytable.h
+++ b/src/prettytable.h
@@ -27,35 +27,35 @@ using std::string;
class PrettyTable
{
public:
- PrettyTable();
- ~PrettyTable();
+ PrettyTable();
+ ~PrettyTable();
- void set_icon(ProcInfo &);
+ void set_icon(ProcInfo &);
private:
- static void on_application_opened(WnckScreen* screen, WnckApplication* app, gpointer data);
- static void on_application_closed(WnckScreen* screen, WnckApplication* app, gpointer data);
+ static void on_application_opened(WnckScreen* screen, WnckApplication* app, gpointer data);
+ static void on_application_closed(WnckScreen* screen, WnckApplication* app, gpointer data);
- void register_application(pid_t pid, Glib::RefPtr<Gdk::Pixbuf> icon);
- void unregister_application(pid_t pid);
+ void register_application(pid_t pid, Glib::RefPtr<Gdk::Pixbuf> icon);
+ void unregister_application(pid_t pid);
- Glib::RefPtr<Gdk::Pixbuf> get_icon_from_theme(const ProcInfo &);
- Glib::RefPtr<Gdk::Pixbuf> get_icon_from_default(const ProcInfo &);
- Glib::RefPtr<Gdk::Pixbuf> get_icon_from_wnck(const ProcInfo &);
- Glib::RefPtr<Gdk::Pixbuf> get_icon_from_name(const ProcInfo &);
- Glib::RefPtr<Gdk::Pixbuf> get_icon_for_kernel(const ProcInfo &);
- Glib::RefPtr<Gdk::Pixbuf> get_icon_dummy(const ProcInfo &);
+ Glib::RefPtr<Gdk::Pixbuf> get_icon_from_theme(const ProcInfo &);
+ Glib::RefPtr<Gdk::Pixbuf> get_icon_from_default(const ProcInfo &);
+ Glib::RefPtr<Gdk::Pixbuf> get_icon_from_wnck(const ProcInfo &);
+ Glib::RefPtr<Gdk::Pixbuf> get_icon_from_name(const ProcInfo &);
+ Glib::RefPtr<Gdk::Pixbuf> get_icon_for_kernel(const ProcInfo &);
+ Glib::RefPtr<Gdk::Pixbuf> get_icon_dummy(const ProcInfo &);
- bool get_default_icon_name(const string &cmd, string &name);
+ bool get_default_icon_name(const string &cmd, string &name);
- typedef std::map<string, Glib::RefPtr<Gdk::Pixbuf> > IconCache;
- typedef std::map<pid_t, Glib::RefPtr<Gdk::Pixbuf> > IconsForPID;
+ typedef std::map<string, Glib::RefPtr<Gdk::Pixbuf> > IconCache;
+ typedef std::map<pid_t, Glib::RefPtr<Gdk::Pixbuf> > IconsForPID;
- IconsForPID apps;
- IconCache defaults;
- procman::IconThemeWrapper theme;
+ IconsForPID apps;
+ IconCache defaults;
+ procman::IconThemeWrapper theme;
};