diff options
Diffstat (limited to 'src/qtraylabel.h')
-rw-r--r-- | src/qtraylabel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qtraylabel.h b/src/qtraylabel.h index c0a9e72..27d0ce4 100644 --- a/src/qtraylabel.h +++ b/src/qtraylabel.h @@ -60,8 +60,8 @@ public: bool isWithdrawn(void) const { return mWithdrawn; } bool isDockWhenMinimized(void) const { return mDockWhenMinimized; } - TQString appName(void) const { return mProgName[0]; } - virtual void setAppName(const TQString& prog) { mProgName[0] = prog; } + TQString appName(void) const { return (mProgName.count() > 0) ? mProgName[0] : TQString::null; } + virtual void setAppName(const TQString& prog); TQString appClass(void) const { return mClass; } TQString appTitle(void) const { return mTitle; } TQPixmap appIcon(void) const { return mAppIcon; } @@ -70,7 +70,7 @@ public: bool x11EventFilter(XEvent * event); // Session Management - virtual void saveState(TDEConfig *config); + virtual bool saveState(TDEConfig *config); virtual bool restoreState(TDEConfig *config); public slots: |