summaryrefslogtreecommitdiffstats
path: root/kmail/simplestringlisteditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/simplestringlisteditor.h')
-rw-r--r--kmail/simplestringlisteditor.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/kmail/simplestringlisteditor.h b/kmail/simplestringlisteditor.h
index afa8593c..edcd2a7c 100644
--- a/kmail/simplestringlisteditor.h
+++ b/kmail/simplestringlisteditor.h
@@ -19,11 +19,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -47,6 +47,7 @@ class TQPushButton;
class SimpleStringListEditor : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
enum ButtonCode {
None = 0x00, Add = 0x01,
@@ -57,12 +58,12 @@ public:
};
/** Constructor. Populates the list with @p strings. */
- SimpleStringListEditor( TQWidget * parent=0, const char * name=0,
+ SimpleStringListEditor( TQWidget * tqparent=0, const char * name=0,
ButtonCode buttons=Unsorted,
- const TQString & addLabel=TQString::null,
- const TQString & removeLabel=TQString::null,
- const TQString & modifyLabel=TQString::null,
- const TQString & addDialogLabel=TQString::null );
+ const TQString & addLabel=TQString(),
+ const TQString & removeLabel=TQString(),
+ const TQString & modifyLabel=TQString(),
+ const TQString & addDialogLabel=TQString() );
/** Sets the list of strings displayed to @p strings */
void setStringList( const TQStringList & strings );
@@ -76,7 +77,7 @@ public:
signals:
/** Connected slots can alter the argument to be added or set the
- argument to TQString::null to suppress adding.
+ argument to TQString() to suppress adding.
*/
void aboutToAdd(TQString&);
void changed(void);
@@ -91,7 +92,7 @@ protected slots:
void slotSelectionChanged();
protected:
- bool tqcontainsString( const TQString & str );
+ bool containsString( const TQString & str );
TQListBox *mListBox;
TQPushButton *mAddButton;
TQPushButton *mRemoveButton;