diff options
Diffstat (limited to 'kmail/kmfolderseldlg.cpp')
-rw-r--r-- | kmail/kmfolderseldlg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmfolderseldlg.cpp b/kmail/kmfolderseldlg.cpp index b1df389ad..fd841ae6a 100644 --- a/kmail/kmfolderseldlg.cpp +++ b/kmail/kmfolderseldlg.cpp @@ -18,16 +18,16 @@ using namespace KMail; //----------------------------------------------------------------------------- -KMFolderSelDlg::KMFolderSelDlg( KMMainWidget * tqparent, const TQString& caption, +KMFolderSelDlg::KMFolderSelDlg( KMMainWidget * parent, const TQString& caption, bool mustBeReadWrite, bool useGlobalSettings ) - : KDialogBase( tqparent, "folder dialog", true, caption, + : KDialogBase( parent, "folder dialog", true, caption, Ok|Cancel|User1, Ok, true, KGuiItem(i18n("&New Subfolder..."), "folder_new", i18n("Create a new subfolder under the currently selected folder")) - ), // mainwin as tqparent, modal + ), // mainwin as parent, modal mUseGlobalSettings( useGlobalSettings ) { - KMFolderTree * ft = tqparent->folderTree(); + KMFolderTree * ft = parent->folderTree(); assert( ft ); TQString preSelection = mUseGlobalSettings ? @@ -40,13 +40,13 @@ KMFolderSelDlg::KMFolderSelDlg( KMMainWidget * tqparent, const TQString& caption } //---------------------------------------------------------------------------- -KMFolderSelDlg::KMFolderSelDlg( TQWidget * tqparent, KMFolderTree * tree, +KMFolderSelDlg::KMFolderSelDlg( TQWidget * parent, KMFolderTree * tree, const TQString& caption, bool mustBeReadWrite, bool useGlobalSettings ) - : KDialogBase( tqparent, "folder dialog", true, caption, + : KDialogBase( parent, "folder dialog", true, caption, Ok|Cancel|User1, Ok, true, KGuiItem(i18n("&New Subfolder..."), "folder_new", i18n("Create a new subfolder under the currently selected folder")) - ), // mainwin as tqparent, modal + ), // mainwin as parent, modal mUseGlobalSettings( useGlobalSettings ) { TQString preSelection = mUseGlobalSettings ? |